const path = require('path')
const db = require(path.resolve(__dirname,'../db'))

exports.login = (req , res) => {
	db.query('select * from users' , (err , result) => {
		res.send({code:200 , err , result})
	})
	
}